/*
 Navicat Premium Data Transfer

 Source Server         : 公司阿里云
 Source Server Type    : SQL Server
 Source Server Version : 13005026
 Source Host           : 121.40.101.29:1433
 Source Catalog        : scm_main_sfl_visit_dev
 Source Schema         : dbo

 Target Server Type    : SQL Server
 Target Server Version : 13005026
 File Encoding         : 65001

 Date: 07/12/2020 09:44:29
*/


-- ----------------------------
-- Table structure for smart_position
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[smart_position]') AND type IN ('U'))
	DROP TABLE [dbo].[smart_position]
GO

CREATE TABLE [dbo].[smart_position] (
  [bd_sbid] varchar(10) COLLATE Chinese_PRC_CI_AS  NULL,
  [bd_position] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [bd_qy] varchar(10) COLLATE Chinese_PRC_CI_AS  NULL,
  [bd_ip] varchar(20) COLLATE Chinese_PRC_CI_AS  NULL,
  [base_id] int  NULL,
  [parking_lot_id] int  NULL
)
GO

ALTER TABLE [dbo].[smart_position] SET (LOCK_ESCALATION = TABLE)
GO

EXEC sp_addextendedproperty
'MS_Description', N'基地ID',
'SCHEMA', N'dbo',
'TABLE', N'smart_position',
'COLUMN', N'base_id'
GO

EXEC sp_addextendedproperty
'MS_Description', N'停车场ID',
'SCHEMA', N'dbo',
'TABLE', N'smart_position',
'COLUMN', N'parking_lot_id'
GO


-- ----------------------------
-- Records of [smart_position]
-- ----------------------------
INSERT INTO [dbo].[smart_position]  VALUES (N'1907491008', N'二期辅助摄像机进', N'安亭地区', N'192.168.1.115', N'100', N'2')
GO

INSERT INTO [dbo].[smart_position]  VALUES (N'1901490872', N'二期出口主摄像机', N'安亭地区', N'192.168.1.141', N'100', N'2')
GO

INSERT INTO [dbo].[smart_position]  VALUES (N'1507470826', N'二期进口辅助摄像机', N'安亭地区', N'192.168.1.118', N'100', N'2')
GO

INSERT INTO [dbo].[smart_position]  VALUES (N'2009490213', N'一期出口左侧', N'安亭地区', N'192.168.1.195', N'100', N'1')
GO

INSERT INTO [dbo].[smart_position]  VALUES (N'2009490721', N'一期出口右侧从机', N'安亭地区', N'192.168.1.196', N'100', N'1')
GO

INSERT INTO [dbo].[smart_position]  VALUES (N'2008490771', N'一期入口右侧', N'安亭地区', N'192.168.1.198', N'100', N'1')
GO

INSERT INTO [dbo].[smart_position]  VALUES (N'2008490103', N'一期入口左侧', N'安亭地区', N'192.168.1.197', N'100', N'1')
GO

